package com.ktwlsoft.archivemanage.domain.dao.repository;

import com.ktwlsoft.archivemanage.domain.dao.entity.MenuSource;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface IMenuSourceMapper {
    List<MenuSource> findByRoleId(Long roleId);

    List<MenuSource> findAllMenu();

    List<MenuSource> findByUserName(String userName);
}
